package com.ruoyi.front_desk.articles.domain;

/**
 * @author 刘奥旸
 * @version 1.0
 */

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

/**
 * 文章表 articles
 *
 * @author ruoyi
 * @date 2024-06-25
 */
@TableName("articles")
public class FrontdeskArticles  extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文章ID */
    private Long id;

    /** 文章URL */

    private String articleUrl;

    /** 文章标题 */

    private String title;

    /** 文章关键词 */

    private String keywords;

    /** 文章来源 */

    private String source;

    /** 文章摘要 */

    private String summary;

    /** 附件名 */

    private String attachmentName;

    /** 附件URL */

    private String attachmentUrl;

    /** 缩略图URL */

    private String thumbnailUrl;

    /** 发布时间 */

    private String publishTime;

    /** 状态 */

    private Long status;

    /** 分类 */

    private Long category;

    /** 文章内容URL */

    private String contentUrl;

    /** 发布者 */

    private String publisher;

    /** 浏览量 */

    private Long viewCount;

    /** 文章存储 */

    private String articlesDb;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setArticleUrl(String articleUrl)
    {
        this.articleUrl = articleUrl;
    }

    public String getArticleUrl()
    {
        return articleUrl;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setKeywords(String keywords)
    {
        this.keywords = keywords;
    }

    public String getKeywords()
    {
        return keywords;
    }
    public void setSource(String source)
    {
        this.source = source;
    }

    public String getSource()
    {
        return source;
    }
    public void setSummary(String summary)
    {
        this.summary = summary;
    }

    public String getSummary()
    {
        return summary;
    }
    public void setAttachmentName(String attachmentName)
    {
        this.attachmentName = attachmentName;
    }

    public String getAttachmentName()
    {
        return attachmentName;
    }
    public void setAttachmentUrl(String attachmentUrl)
    {
        this.attachmentUrl = attachmentUrl;
    }

    public String getAttachmentUrl()
    {
        return attachmentUrl;
    }
    public void setThumbnailUrl(String thumbnailUrl)
    {
        this.thumbnailUrl = thumbnailUrl;
    }

    public String getThumbnailUrl()
    {
        return thumbnailUrl;
    }
    public void setPublishTime(String publishTime)
    {
        this.publishTime = publishTime;
    }

    public String getPublishTime()
    {
        return publishTime;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }
    public void setCategory(Long category)
    {
        this.category = category;
    }

    public Long getCategory()
    {
        return category;
    }
    public void setContentUrl(String contentUrl)
    {
        this.contentUrl = contentUrl;
    }

    public String getContentUrl()
    {
        return contentUrl;
    }
    public void setPublisher(String publisher)
    {
        this.publisher = publisher;
    }

    public String getPublisher()
    {
        return publisher;
    }
    public void setViewCount(Long viewCount)
    {
        this.viewCount = viewCount;
    }

    public Long getViewCount()
    {
        return viewCount;
    }
    public void setArticlesDb(String articlesDb)
    {
        this.articlesDb = articlesDb;
    }

    public String getArticlesDb()
    {
        return articlesDb;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("articleUrl", getArticleUrl())
                .append("title", getTitle())
                .append("keywords", getKeywords())
                .append("source", getSource())
                .append("summary", getSummary())
                .append("attachmentName", getAttachmentName())
                .append("attachmentUrl", getAttachmentUrl())
                .append("thumbnailUrl", getThumbnailUrl())
                .append("publishTime", getPublishTime())
                .append("status", getStatus())
                .append("category", getCategory())
                .append("contentUrl", getContentUrl())
                .append("publisher", getPublisher())
                .append("viewCount", getViewCount())
                .append("articlesDb", getArticlesDb())
                .toString();
    }
}
